package com.zjdiepu.www.biz.yw;

import java.util.List;

import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import com.zjdiepu.www.base.core.BaseService;
import com.zjdiepu.www.dao.yw.YwRestMapper;
import com.zjdiepu.www.ibiz.yw.IYwRestService;
import com.zjdiepu.www.model.yw.dto.YwBusiness;
import com.zjdiepu.www.model.yw.request.YwBusinessBaseRequest;

/**
 * 业务信息Service层操作实现<br/>
 * @author xiongxiaotun<br/>
 * @time 2017年04月24日 14时45分<br/>
 * @since 1.0<br/>
 */
@Service
public class YwRestServiceImpl extends BaseService implements IYwRestService {
	public static final Logger logger = LoggerFactory.getLogger(YwRestServiceImpl.class);

	@Autowired
	private YwRestMapper ywRestMapper;

	@Override
	public List<YwBusiness> selectByExt(
			YwBusinessBaseRequest ywBusinessBaseRequest) {
		return ywRestMapper.selectByExt(ywBusinessBaseRequest);
	}

	@Override
	public int countByExt(YwBusinessBaseRequest ywBusinessBaseRequest) {
		return ywRestMapper.countByExt(ywBusinessBaseRequest);
	}
}
